From: Keir Fraser Date: Fri, 30 May 2008 14:09:40 +0000 (+0100) Subject: [IA64] compilation fix of iommu.h X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14207^2~5 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=3ffdbd856936ca2ce99464568e30e080ebb1ff8e;p=xen.git [IA64] compilation fix of iommu.h Trivial compilation fix of iommu.h. It includes asm/msi.h for struct msi_desc and struct msi_msg definition. msi.h doesn't exist yet on ia64 so declare struct msi_desc and struct msi_msg in iommu.h and don't include asm/msi.h. Signed-off-by: Isaku Yamahata --- diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 48a75c6afc..103c5b77ad 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -26,7 +26,6 @@ #include #include #include -#include extern int vtd_enabled; extern int iommu_enabled; @@ -79,6 +78,9 @@ int pt_irq_destroy_bind_vtd(struct domain *d, unsigned int io_apic_read_remap_rte(unsigned int apic, unsigned int reg); void io_apic_write_remap_rte(unsigned int apic, unsigned int reg, unsigned int value); + +struct msi_desc; +struct msi_msg; void msi_msg_read_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg); void msi_msg_write_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg); struct qi_ctrl *iommu_qi_ctrl(struct iommu *iommu);